package com.ssm.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.github.pagehelper.PageInfo;
import com.ssm.base.service.BaseService;
import com.ssm.domain.Address;
import com.ssm.mapper.AddressMapper;
import com.ssm.service.IAddressService;

import tk.mybatis.mapper.common.Mapper;

/**
*
*suae  2016��7��17��
*@return
*/
@Service
public class AddressService  extends BaseService<Address> implements IAddressService {
	@Autowired
	public AddressService(AddressMapper mapper) {
		super(mapper);
		// TODO Auto-generated constructor stub
		this.mapper = mapper;
	}

	private AddressMapper mapper;
	
	public List<Address> queryListByUserId(Address address) {
		// TODO Auto-generated method stub
		return mapper.queryListByUserId(address);
	}

}
